package actionspeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// ActionReissueScore 发放道具
type ActionReissueScore struct {
	Id          int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	UserId      string         `json:"userId" gorm:"column:user_id;type:varchar(256);not null;default:'';comment:刷礼物的人"`
	UserIdOther string         `json:"userIdOther" gorm:"column:user_id_other;type:varchar(256);not null;default:'';comment:cp用户"`
	Score       int64          `json:"score" gorm:"column:score;type:bigint;default:0;not null;comment:积分"` // 积分
	JobDesc     string         `json:"jobDesc" gorm:"column:job_desc;type:varchar(256);not null;default:'';comment:发放描述描述"`
	Status      int            `json:"status" gorm:"column:status;type:tinyint;default:0;not null;comment:1:待发放，2:发放完成"` //
	DoTime      int64          `json:"doTime" gorm:"column:do_time;type:bigint;default:0;not null;comment:补什么时间的积分"`     // 积分
	CreatedAt   time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt   time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"` //补发时间
	DeletedAt   gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
